package com.ccrfid.rmc6.entity.personnel;

import javax.persistence.*;
import java.sql.Date;
import java.sql.Timestamp;

@Entity
@Table(name = "personnel_prisoner")
public class PersonnelPrisonerEntity {
    private Long personnelId;
    private String anotherName;
    private String dormCode;
    private String ethnicGroupValue;
    private String politicalStatusValue;
    private String nationalityValue;
    private String houseAddrValue;
    private String houseDetailAddr;
    private String identityValue;
    private String workAddr;
    private String position;
    private String specialtyValue;
    private String stageValue;
    private String resultValue;
    private String caseTypeValue;
    private String brief;
    private String comeReasonValue;
    private String jailTimeValue;
    private Timestamp comeTime;
    private Timestamp outTime;
    private String unifoNo;
    private Date arrestDate;
    private Date imprisonLimit;
    private String handlingUnit;
    private String manageTypeValue;
    private Integer isMajorCriminalOffender;
    private Integer isFocusedPrisoner;
    private Integer isDeathPrisoner;
    private Integer isInfectedPrisoner;
    private Timestamp updateTime;

    private String stakeType;
    private String historyCrime;
    private String dealWith;
    private String involvedCrime;

    @Id
    @Column(name = "personnel_id", nullable = false)
    public Long getPersonnelId() {
        return personnelId;
    }

    public void setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
    }

    @Basic
    @Column(name = "another_name", nullable = true, length = 32)
    public String getAnotherName() {
        return anotherName;
    }

    public void setAnotherName(String anotherName) {
        this.anotherName = anotherName;
    }

    @Basic
    @Column(name = "ethnic_group_value", nullable = true, length = 45)
    public String getEthnicGroupValue() {
        return ethnicGroupValue;
    }

    public void setEthnicGroupValue(String ethnicGroupValue) {
        this.ethnicGroupValue = ethnicGroupValue;
    }

    @Basic
    @Column(name = "political_status_value", nullable = true, length = 45)
    public String getPoliticalStatusValue() {
        return politicalStatusValue;
    }

    public void setPoliticalStatusValue(String politicalStatusValue) {
        this.politicalStatusValue = politicalStatusValue;
    }

    @Basic
    @Column(name = "nationality_value", nullable = true, length = 45)
    public String getNationalityValue() {
        return nationalityValue;
    }

    public void setNationalityValue(String nationalityValue) {
        this.nationalityValue = nationalityValue;
    }

    @Basic
    @Column(name = "house_addr_value", nullable = true, length = 128)
    public String getHouseAddrValue() {
        return houseAddrValue;
    }

    public void setHouseAddrValue(String houseAddrValue) {
        this.houseAddrValue = houseAddrValue;
    }

    @Basic
    @Column(name = "house_detail_addr", nullable = true, length = 128)
    public String getHouseDetailAddr() {
        return houseDetailAddr;
    }

    public void setHouseDetailAddr(String houseDetailAddr) {
        this.houseDetailAddr = houseDetailAddr;
    }

    @Basic
    @Column(name = "identity_value", nullable = true, length = 45)
    public String getIdentityValue() {
        return identityValue;
    }

    public void setIdentityValue(String identityValue) {
        this.identityValue = identityValue;
    }

    @Basic
    @Column(name = "position", nullable = true, length = 45)
    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    @Basic
    @Column(name = "specialty_value", nullable = true, length = 45)
    public String getSpecialtyValue() {
        return specialtyValue;
    }

    public void setSpecialtyValue(String specialtyValue) {
        this.specialtyValue = specialtyValue;
    }

    @Basic
    @Column(name = "dorm_code", nullable = true, length = 45)
    public String getDormCode() {
        return dormCode;
    }

    public void setDormCode(String dormCode) {
        this.dormCode = dormCode;
    }

    @Basic
    @Column(name = "unifo_no", nullable = true, length = 45)
    public String getUnifoNo() {
        return unifoNo;
    }

    public void setUnifoNo(String unifoNo) {
        this.unifoNo = unifoNo;
    }

    @Basic
    @Column(name = "stage_value", nullable = true, length = 45)
    public String getStageValue() {
        return stageValue;
    }

    public void setStageValue(String stageValue) {
        this.stageValue = stageValue;
    }

    @Basic
    @Column(name = "imprison_limit", nullable = true)
    public Date getImprisonLimit() {
        return imprisonLimit;
    }

    public void setImprisonLimit(Date imprisonLimit) {
        this.imprisonLimit = imprisonLimit;
    }

    @Basic
    @Column(name = "result_value", nullable = true, length = 45)
    public String getResultValue() {
        return resultValue;
    }

    public void setResultValue(String resultValue) {
        this.resultValue = resultValue;
    }

    @Basic
    @Column(name = "case_type_value", nullable = true, length = 45)
    public String getCaseTypeValue() {
        return caseTypeValue;
    }

    public void setCaseTypeValue(String caseTypeValue) {
        this.caseTypeValue = caseTypeValue;
    }

    @Basic
    @Column(name = "brief", nullable = true, length = -1)
    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    @Basic
    @Column(name = "come_reason_value", nullable = true, length = 45)
    public String getComeReasonValue() {
        return comeReasonValue;
    }

    public void setComeReasonValue(String comeReasonValue) {
        this.comeReasonValue = comeReasonValue;
    }

    @Basic
    @Column(name = "come_time", nullable = true)
    public Timestamp getComeTime() {
        return comeTime;
    }

    public void setComeTime(Timestamp comeTime) {
        this.comeTime = comeTime;
    }

    @Basic
    @Column(name = "out_time", nullable = true)
    public Timestamp getOutTime() {
        return outTime;
    }

    public void setOutTime(Timestamp outTime) {
        this.outTime = outTime;
    }

    @Basic
    @Column(name = "jail_time_value", nullable = true, length = 45)
    public String getJailTimeValue() {
        return jailTimeValue;
    }

    public void setJailTimeValue(String jailTimeValue) {
        this.jailTimeValue = jailTimeValue;
    }

    @Basic
    @Column(name = "arrest_date", nullable = true)
    public Date getArrestDate() {
        return arrestDate;
    }

    public void setArrestDate(Date arrestDate) {
        this.arrestDate = arrestDate;
    }

    @Basic
    @Column(name = "manage_type_value", nullable = true, length = 45)
    public String getManageTypeValue() {
        return manageTypeValue;
    }

    public void setManageTypeValue(String manageTypeValue) {
        this.manageTypeValue = manageTypeValue;
    }

    @Basic
    @Column(name = "handling_unit", nullable = true, length = 45)
    public String getHandlingUnit() {
        return handlingUnit;
    }

    public void setHandlingUnit(String handlingUnit) {
        this.handlingUnit = handlingUnit;
    }

    @Basic
    @Column(name = "work_addr", nullable = true, length = 255)
    public String getWorkAddr() {
        return workAddr;
    }

    public void setWorkAddr(String workAddr) {
        this.workAddr = workAddr;
    }

    @Basic
    @Column(name = "is_major_criminal_offender", nullable = true)
    public Integer getIsMajorCriminalOffender() {
        return isMajorCriminalOffender;
    }

    public void setIsMajorCriminalOffender(Integer isMajorCriminalOffender) {
        this.isMajorCriminalOffender = isMajorCriminalOffender;
    }

    @Basic
    @Column(name = "is_focused_prisoner", nullable = true)
    public Integer getIsFocusedPrisoner() {
        return isFocusedPrisoner;
    }

    public void setIsFocusedPrisoner(Integer isFocusedPrisoner) {
        this.isFocusedPrisoner = isFocusedPrisoner;
    }

    @Basic
    @Column(name = "is_death_prisoner", nullable = true)
    public Integer getIsDeathPrisoner() {
        return isDeathPrisoner;
    }

    public void setIsDeathPrisoner(Integer isDeathPrisoner) {
        this.isDeathPrisoner = isDeathPrisoner;
    }

    @Basic
    @Column(name = "is_infected_prisoner", nullable = true)
    public Integer getIsInfectedPrisoner() {
        return isInfectedPrisoner;
    }

    public void setIsInfectedPrisoner(Integer isInfectedPrisoner) {
        this.isInfectedPrisoner = isInfectedPrisoner;
    }

    @Basic
    @Column(name = "update_time", nullable = true)
    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "stake_type", nullable = true, length = 45)
    public String getStakeType() {
        return stakeType;
    }

    public void setStakeType(String stakeType) {
        this.stakeType = stakeType;
    }

    @Basic
    @Column(name = "history_crime", nullable = true, length = 45)
    public String getHistoryCrime() {
        return historyCrime;
    }

    public void setHistoryCrime(String historyCrime) {
        this.historyCrime = historyCrime;
    }

    @Basic
    @Column(name = "deal_with", nullable = true, length = 45)
    public String getDealWith() {
        return dealWith;
    }

    public void setDealWith(String dealWith) {
        this.dealWith = dealWith;
    }

    @Basic
    @Column(name = "involved_crime", nullable = true, length = 45)
    public String getInvolvedCrime() {
        return involvedCrime;
    }

    public void setInvolvedCrime(String involvedCrime) {
        this.involvedCrime = involvedCrime;
    }

}
